package com.jhx.dao;

import com.jhx.pojo.Member;

import java.util.List;

public interface MemberMapper {

    /**
     * 查询所有
     */
    public List<Member> findMemberAll(String name);
    /**
     * 添加会员
     */
    public int addMember(Member member);
    /**
     * 根据id删除会员
     */
    public  int deleteMemberById(List<String> id);
    /**
     * 根据id查询会员
     */
    public Member findMemberById(Integer id);
    /**
     * 修改会员
     */
    public int updateMember(Member member);
}
